CC = gcc
CFLAGS = -Wall -pedantic -O2 -std=gnu99
LD = gcc
LDFLAGS =

TARGET = askew610boothook

OBJS = askew610boothook.o

all: $(TARGET)

$(TARGET): $(OBJS)
	$(LD) $(LDFLAGS) $^ -o $@

%.o: %.c
	$(CC) $(CFLAGS) -c $^ -o $@

.PHONY: clean

clean:
	rm -f $(TARGET) $(OBJS) *~
